package com.aorise.model.bayonet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Auther: zhouhao
 * @Date: 2019/6/20
 * @Description: 卡口分页
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="getBayonetByPage对象",description="卡口分页")
public class BayonetPageVO {

    @ApiModelProperty(value = "所属分组",example = "1",dataType = "String")
    private String group;

    @ApiModelProperty(value = "卡口类型",example = "1",dataType = "String")
    private String baType;

    @ApiModelProperty(value = "连接状态",example = "1",dataType = "int")
    private Integer online;

    @ApiModelProperty(value = "卡口名称",example = "1",dataType = "String")
    private String baName;

    @ApiModelProperty(value = "卡口编码",example = "1",dataType = "String")
    private String baNumber;

    @ApiModelProperty(value = "车道数",example = "1",dataType = "int",hidden = true)
    private Integer laneSum;

    @ApiModelProperty(value = "页索引(仅限于分页使用)",dataType = "String")
    private String pageNum;

    @ApiModelProperty(value = "页大小(仅限于分页使用)",dataType = "String")
    private String pageSize;

    @ApiModelProperty(value = "卡口(卡口详情使用需传入)",dataType = "int")
    private Integer id;

}
